package com.ke.forum.mbg.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ke.forum.mbg.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ke.forum.mbg.entity.dto.UserDto;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 珂
 * @since 2021-05-22
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    UserDto getUserPermission(Integer id);

    Page<UserDto> listStarUserInfo(Page<UserDto> page,String userUuid);

    Page<UserDto> listFanUserInfo(Page<UserDto> page,String userUuid);
}
